load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "WebUI",
    module_name = "WebUI",
    srcs = glob([
		"Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
    	"//submodules/AsyncDisplayKit:AsyncDisplayKit",
        "//submodules/Display:Display",
        "//submodules/TelegramCore:TelegramCore",
        "//submodules/TelegramPresentationData:TelegramPresentationData",
        "//submodules/PresentationDataUtils:PresentationDataUtils",
        "//submodules/AccountContext:AccountContext",
        "//submodules/AttachmentUI:AttachmentUI",
        "//submodules/HexColor:HexColor",
        "//submodules/PhotoResources:PhotoResources",
        "//submodules/MediaResources",
        "//submodules/ShimmerEffect:ShimmerEffect",
        "//submodules/LegacyComponents:LegacyComponents",
        "//submodules/UrlHandling:UrlHandling",
        "//submodules/MoreButtonNode:MoreButtonNode",
        "//submodules/BotPaymentsUI:BotPaymentsUI",
        "//submodules/PromptUI:PromptUI",
        "//submodules/PhoneNumberFormat:PhoneNumberFormat",
        "//submodules/QrCodeUI:QrCodeUI",
        "//submodules/InstantPageUI:InstantPageUI",
        "//submodules/CheckNode:CheckNode",
        "//submodules/Markdown:Markdown",
        "//submodules/TextFormat:TextFormat",
        "//submodules/LocalAuth",
        "//submodules/InstantPageCache",
        "//submodules/OpenInExternalAppUI",
        "//submodules/ComponentFlow",
        "//submodules/TelegramUI/Components/EmojiStatusComponent",
        "//submodules/ShareController",
        "//submodules/UndoUI",
        "//submodules/OverlayStatusController",
        "//submodules/TelegramUIPreferences",
        "//submodules/Components/LottieAnimationComponent",
        "//submodules/TelegramUI/Components/EmojiTextAttachmentView",
        "//submodules/TelegramUI/Components/Gifts/GiftAnimationComponent",
        "//submodules/TelegramUI/Components/ListItemComponentAdaptor",
        "//submodules/TelegramUI/Components/ListSectionComponent",
        "//submodules/TelegramUI/Components/ListActionItemComponent",
        "//submodules/TelegramUI/Components/Chat/ChatMessageItemImpl",
        "//submodules/TelegramUI/Components/PremiumPeerShortcutComponent",
        "//submodules/DeviceLocationManager",
        "//submodules/DeviceAccess",
        "//submodules/TelegramUI/Components/Utils/GenerateStickerPlaceholderImage",
        "//submodules/AvatarNode",
    ],
    visibility = [
        "//visibility:public",
    ],
)
